import string
class Solution:
    def generateTheString(self, n: int) -> str:
        
        if n % 2 == 0:
            tmp = "a" * (n-1)
            return tmp + "b"
        else:
            return "a" * n

if __name__ == "__main__":
    a = Solution().generateTheString(7)
    print(a)